package com.bugull.farm.core.store;

import com.bugull.mongo.SimpleEntity;
import com.bugull.mongo.annotations.Entity;

import java.util.Date;

/**
 * Created by leesama on 2016/10/12.
 */
@Entity
public class DeviceErrorReport extends SimpleEntity {
    /**
     * 具体的故障类型
     * 格式为#{DeviceErrorType},#{DeviceErrorType}
     */
    private String errors;

    /**
     * 错误编码
     */
    private String errorCode;

    private Date createDate;

    private String macAddress;

    private String productType;//产品型号

    private String rawData;//记录上传的data数据
    public String getErrors() {
        return errors;
    }

    public void setErrors(String errors) {
        this.errors = errors;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getRawData() {
        return rawData;
    }

    public void setRawData(String rawData) {
        this.rawData = rawData;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
}
